package com.cn.ZhiKeDianShang.api;

import com.cn.ZhiKeDianShang.model.request.LoginBean;
import com.cn.ZhiKeDianShang.model.response.BaseResponseEntity;
import com.cn.ZhiKeDianShang.model.response.UserInfoBean;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by chengaofu on 2017/6/27.
 */
public interface RxService {
    //登陆
    @POST("api/user/login/")
    Observable<BaseResponseEntity<UserInfoBean>> onLogin(
            @Body LoginBean entity);

}
